<?
include('../controller/handler.php');

$hd = new Handler();
$base_url = $hd->getBaseURL();
$error = $_GET['error'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<?
	/****************
	 * HEAD MODULE
	 ***************/
	include('../module/head.inc.php');
	?>

	<title><?echo $hd->getTitle();?> - <?echo $error;?></title>
	
</head>

<body>
<?
/****************
 * HEADER MODULE
 ***************/
include('../module/header.inc.php');
?>
<div id="stripe"></div>
<div id="container">
	<h1>Why do I get an error <?echo $error;?>?</h1>
	<p class="justify"><?echo $hd->getErrorMessage($error);?></p>
	<div id="credits"><?echo $hd->getCredits();?></div>
</div>
<div id="footer">
	<?
	/****************
	 * FOOTER MODULE
	 ***************/
	include('../module/footer.inc.php');
	?>
</div>
<?include('../module/analytics.inc.php');?>
</body>
</html>